home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / bgft211.zip / BGFTDYPC.ASP < prev    next >
Text File  |  1991-05-02  |  4KB  |  67 lines

  1. ; BGFTDYPC.ASP: PCPLUS script for BGFT Ymodem Batch download.
  2. ; Copyright 1990-1991 Dirac Systems.
  3. ; Support Package for Registered users of BGFT (TM).
  4. ; PCPLUS is a trademark of Datastorm Technologies Inc.
  5. ;
  6. ; MANUAL INSTALLATION:
  7. ; The following outlines how to install the script for use as an
  8. ;      'external protocol' in PCPLUS. Actually, it shows how to
  9. ;       use an ASP script to do the file transfer in BGFT.
  10. ; Be sure that the resident part (BGFT360K.COM or BGFT720K.COM) of
  11. ;      BGFT is loaded before the communications program. Add /B if
  12. ;      you want Drive B:. The BGFT status window does not need to be
  13. ;      active; it need only be resident.
  14. ; The batch file BGFTINIT.BAT is used to initialize BGFT prior to
  15. ;      running PCPLUS. This file must be edited to contain information
  16. ;      about your modem's port number and baud rate prior to use
  17. ;      (default is 1200 baud, port 1). You must run the batch file
  18. ;      BGFTINIT.BAT to make sure that BGFT is set up properly. THIS
  19. ;      MUST BE DONE before using BGFT as an external protocol under
  20. ;      PCPLUS. This is true even though the baud and port are set here.
  21. ; BGFTOPT.EXE should be in the \PCPLUS directory or the PATH setup.
  22. ; BGFTDYPC.ASP should be in the \PCPLUS directory.
  23. ; Get the remote system ready to download the chosen files with Ymodem
  24. ;       batch.
  25. ; From terminal mode in PCPLUS hit 'Alt_F5' to begin to set up the ASP
  26. ;       file for running.
  27. ; Hit RETURN to get a list of ASP files.  Choose BGFTDYPC.ASP with the
  28. ;       up or down arrows to do a Ymodem Batch download.
  29. ; BGFTDYPC.ASP will initiate the download using the baud rate and comm
  30. ;       port defined below in the script file. The BYE command will exit
  31. ;       PCPLUS without hanging up; you will be at the DOS prompt. The
  32. ;       files(s) will be transferred in the background so you can use
  33. ;       your computer for other purposes while this takes place.
  34. ; DO NOT RUN PCPLUS FROM DOS OR YOU WILL GET THE TRANSMISSION ON THE
  35. ;       SCREEN INSTEAD OF THE FILE BUFFER.
  36. ; After the transfers are over you can use PCPLUS again in terminal
  37. ;       mode.
  38. ; Use BGFT.EXE to move your files to the desired DOS directory. Also,
  39. ;      the batch file, BGFTDUMP.BAT, may be used to dump downloaded
  40. ;      files from the file buffer to a specified directory (if none is
  41. ;      specified, then the current working directory is used).
  42. ;
  43. MESSAGE" "
  44. MESSAGE"    Copyright 1990-1991 Dirac Systems"
  45. MESSAGE"                                       \ /"
  46. MESSAGE"------------------------------------- - o -"
  47. MESSAGE"                                       / \"
  48. MESSAGE"BGFT Ymodem Batch Download External Protocol"
  49. MESSAGE" "
  50. ASSIGN S0 1                     ; USER DEFINED COMM PORT.
  51. ASSIGN S1 1200                  ; USER DEFINED BAUD RATE.
  52. ASSIGN S2 "BGFTOPT /Q"          ; Quiet mode (don't print out results).
  53. STRCAT S2 " /A"                 ; Acknowledge error, if any.
  54. STRCAT S2 " /R"                 ; Reconnect COMM port.
  55. STRCAT S2 S0
  56. STRCAT S2 " /B"                 ; Set baud rate.
  57. STRCAT S2 S1
  58. STRCAT S2 " /~"                 ; Set protocol.
  59. STRCAT S2 "2"                   ; USER DEFINED PROTOCOL (Ymodem Batch Download).
  60. STRCAT S2 " /S"                 ; Start file(s) transfer.
  61. DOS S2                          ; Run BGFTOPT.EXE with appropriate command.
  62. IF FAILURE
  63.         MESSAGE "COMMAND.COM NOT FOUND"
  64.         EXIT                    ; End script and go to terminal mode.
  65. ENDIF
  66. BYE                             ; Exit PCPLUS without hanging up.
  67.